package com.platform.server.entity;

import java.util.Date;

public class Order {
	
	private Long id;			//订单id
	
	private String server_id;	//服务订单或需求订单id
	
	private String user_id;		//当前用户id

	private String server_user_id;	//服务者用户id
	
	private String price;		//多少元/小时
	
	private String hours; 		//多少小时 
	
	private String mobile;		//联系电话
	
	private String server_time;	//何时开始
	
	private String end_time;	//结束时间
	
	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	private String server_address;	//服务地址
	
	private String comment;		//备注
	
	private String sum_price;	//服务金额
	
	private String vip_discount;	//vip会员优惠（单位元）
	
	private String coupon;		//优惠券金额
	
	private String discountid;	//优惠券id
	
	private String integral;	//积分抵现（可抵多少元，单位元）
	
	private String reality_price;	//实付价格
	
	private String order_type;	//订单类型（1服务订单，2需求订单）
	
	private String status;		//'待评价','已完成','已取消','待确认'
	
	private String order_id;	//后台生成的16位订单id
	
	private Date create_time;	//创建时间
	
	private String house_number;	//门牌号
	
	private String retractor;
	
	public String getRetractor() {
		return retractor;
	}

	public void setRetractor(String retractor) {
		this.retractor = retractor;
	}

	public String getHouse_number() {
		return house_number;
	}

	public void setHouse_number(String house_number) {
		this.house_number = house_number;
	}

	public String getDiscountid() {
		return discountid;
	}

	public void setDiscountid(String discountid) {
		this.discountid = discountid;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getServer_user_id() {
		return server_user_id;
	}

	public void setServer_user_id(String server_user_id) {
		this.server_user_id = server_user_id;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getServer_id() {
		return server_id;
	}

	public void setServer_id(String server_id) {
		this.server_id = server_id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getHours() {
		return hours;
	}

	public void setHours(String hours) {
		this.hours = hours;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getServer_time() {
		return server_time;
	}

	public void setServer_time(String server_time) {
		this.server_time = server_time;
	}

	public String getServer_address() {
		return server_address;
	}

	public void setServer_address(String server_address) {
		this.server_address = server_address;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getSum_price() {
		return sum_price;
	}

	public void setSum_price(String sum_price) {
		this.sum_price = sum_price;
	}

	public String getVip_discount() {
		return vip_discount;
	}

	public void setVip_discount(String vip_discount) {
		this.vip_discount = vip_discount;
	}

	public String getCoupon() {
		return coupon;
	}

	public void setCoupon(String coupon) {
		this.coupon = coupon;
	}

	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}

	public String getReality_price() {
		return reality_price;
	}

	public void setReality_price(String reality_price) {
		this.reality_price = reality_price;
	}

	public String getOrder_type() {
		return order_type;
	}

	public void setOrder_type(String order_type) {
		this.order_type = order_type;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	@Override
	public String toString() {
		return "Order [id=" + id + ", server_id=" + server_id + ", user_id=" + user_id + ", server_user_id="
				+ server_user_id + ", price=" + price + ", hours=" + hours + ", mobile=" + mobile + ", server_time="
				+ server_time + ", server_address=" + server_address + ", comment=" + comment + ", sum_price="
				+ sum_price + ", vip_discount=" + vip_discount + ", coupon=" + coupon + ", discountid=" + discountid
				+ ", integral=" + integral + ", reality_price=" + reality_price + ", order_type=" + order_type
				+ ", status=" + status + ", order_id=" + order_id + ", create_time=" + create_time + ", house_number="
				+ house_number + "]";
	}

}
